import { useSelector } from "react-redux"

export default (props) => {
  const { token, userInfo, accessRoutes } = useSelector(state => state.user)

  console.log("token:", token);
  console.log("userInfo:", userInfo);
  console.log("accessRoutes:", accessRoutes);

  return (
    <div>
      <h2>添加商品和编辑商品</h2>
    </div>
  )
}